{% extends 'base.html' %}

{% block title %}
    <title>登录</title>
{% endblock %}

{% block cssjs %}
    <link rel="stylesheet" href="/static/css/login.css" type="text/css">

    <script src="/static/js/login.js"></script>
    <script src="/static/js/goods_info.js"></script>
    <script src="/static/js/goods_info2.js"></script>
{% endblock %}


{% block cart %}

    <div class="bag">
        <a href="{% url 'carts:cart' %}">
            <div class="bag_n">
            <img src="/static/img/shopping.png" class="bag_icon" alt="" />
            <span>购物袋（<t style="color: #8E0C3A;">0</t>）</span>
            <img class="arrow" src="/static/img/xiabiao.png" alt="" />
        </div>
        </a>


        <div class="cart">
            <div class="cart_n">
                您的购物车是空的
            </div>
        </div>
    </div>
{% endblock %}
{% block main %}

    <div class="content">
			<div class="content_box">
				<div class="absolute">
					<img src="/static/img/register_bg.png" alt="" />
				</div>
				<p class="voucher">手机验证完成即送<b>100</b>元代金券</p>
				<form class="registerform" method="post">
					<div class="register_box">
						<div class="input_zone">
							<div class="input_l"><i>手机/邮箱：</i></div>
							<div class="input_r">
								<input type="text" name="username" class="user_name" value="" style="color: rgb(204, 204, 204);font-size: 12px;"/>
							</div>
						</div>
						<div class="input_zone">
							<div class="input_l"><i>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</i></div>
							<div class="input_r">
								<input type="password" class="psw" name="pwd"/>
							</div>
						</div>
						<div class="meici_tag">
							<input class="input_login" type="checkbox" value="1" />
							<span style="color: #6C6C6C;display: inline-block;">下次自动登录</span>
							<span class="float_r">忘记密码？</span>
						</div>
						<div class="meici_tag">
							<button class="btn_login">登录</button>
							<br />
							<div style="margin-top: 5px;text-align: right;">
								
								<a href="{% url 'index:login' %}" style="color: #8E0C3A;">立即注册</a>
							</div>
							<p class="regInfo_msg"></p>
						</div>
					</div>
                    {% csrf_token %}
				</form>
			</div>
		</div>
{% endblock %}

